package com.sf.fy.uav.common.request.order.task;


import jakarta.validation.constraints.NotBlank;
import org.springframework.validation.annotation.Validated;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author LTQ
 */
@Validated
public class SubmitOrderRequest {

    //订单来源
    @NotBlank(message = "订单来源不能为空")
    private Integer source;

    @NotBlank(message = "商品类型不能为空")
    private Integer goodsType;

    @NotBlank(message = "商品信息不能为空")
    private String goodsInfo;

    @NotBlank(message = "配送站编码不能为空")
    private String deliveryCode;

    @NotBlank(message = "经度不能为空")
    private Double destLon;

    @NotBlank(message = "纬度不能为空")
    private Double destLat;

    @NotBlank(message = "手机号码不能为空")
    private String revicePhone;

    @NotBlank(message = "地址不能为空")
    private String address;

    @NotBlank(message = "收件人姓名不能为空")
    private String reviceName;

    private BigDecimal destAlt;

    public BigDecimal getDestAlt() {
        return destAlt;
    }

    public void setDestAlt(BigDecimal destAlt) {
        this.destAlt = destAlt;
    }

    private List voices;

    public String getReviceName() {
        return reviceName;
    }

    public void setReviceName(String reviceName) {
        this.reviceName = reviceName;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(String goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public String getDeliveryCode() {
        return deliveryCode;
    }

    public void setDeliveryCode(String deliveryCode) {
        this.deliveryCode = deliveryCode;
    }

    public Double getDestLon() {
        return destLon;
    }

    public void setDestLon(Double destLon) {
        this.destLon = destLon;
    }

    public Double getDestLat() {
        return destLat;
    }

    public void setDestLat(Double destLat) {
        this.destLat = destLat;
    }

    public String getRevicePhone() {
        return revicePhone;
    }

    public void setRevicePhone(String revicePhone) {
        this.revicePhone = revicePhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List getVoices() {
        return voices;
    }

    public void setVoices(List voices) {
        this.voices = voices;
    }
}
